package com.dmwork.service.interaction.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.dmwork.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 李天
 * @since 2021-03-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("dm_work_collect")
@ApiModel(value="WorkCollect对象", description="")
public class WorkCollect extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "作品id")
    private String workId;

    @ApiModelProperty(value = "用户id")
    private String customerId;

    @ApiModelProperty(value = "收藏分组id")
    private String collectGroupId;

    @ApiModelProperty(value = "是否删除（0为未删除，1为已删除）")
    @TableField("is_deleted")
    @TableLogic
    private Integer deleted;


}
